<footer>
    <div class="Navigation footer">
        @foreach($menu as $k => $v)
            @if($v['class_id'])
                <a href="{{url('article_list/'.$v['class_id'])}}">{{$v['name']}}</a>
            @else
                <a href="{{url($v['url'])}}">{{$v['name']}}</a>
            @endif
        @endforeach
    </div>
    <div class="footer_message">
        <p>
            <span>好头发网@2016&nbsp;&nbsp;&nbsp;&nbsp;haotoufa.com</span>
        </p>
    </div>
</footer>
<div id='ad-holder' onclick="location.href='http://bbs.haotoufa.com/coupon/price.html';">
    <img src="{{asset('image/footer_banner.png')}}">
</div>
<div id='back_to_top' onclick='location.href="#"'>
<img src='{{asset('image/back_arrow.png')}}'>
</div>
<!--统计代码-->
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?7c2b50385fa90625e2d2f64e4cd9220f";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

<!--底部控制-->
<script>
//强制用户浏览器全屏
$(document).ready(function(){
    function exitFullscreen() {
        if(document.exitFullscreen) {
            document.exitFullscreen();
        } else if(document.mozCancelFullScreen) {
            document.mozCancelFullScreen();
        } else if(document.webkitExitFullscreen) {
            document.webkitExitFullscreen();
        }
    }
    // 退出全屏模式!
    exitFullscreen();
});
</script>
<script>
//箭头控制
    var $height = $(window).height();
    var z_height = $('.sup-wrapper').height();
    var p = 0,t = 0;
    $(window).scroll(function(){
        var navBarHeight = 80;
        p = $(this).scrollTop();
        $(".menu").css({display:'none'});
        if($(document).scrollTop()>$height*0.2)
        {
            $('#back_to_top').css({bottom:$height*0.1});
        }
        else
        {
            $('#back_to_top').css({bottom: '-'+navBarHeight+'px' });
        }
        setTimeout(function(){ t = p },0);
   }).trigger('scroll');
</script>
@if($show_sw)
<script language="javascript" src="http://pgt.zoosnet.net/JS/LSJS.aspx?siteid=PGT82958825&lng=cn&float=1"></script>
@endif